from scrapy import cmdline
cmdline.execute("scrapy crawl doubanm -o movie.csv".split())